package com.springBoot.Service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.springBoot.Service.UserService;
import com.springBoot.dao.UserDao;
import com.springBoot.entity.User;
@Service
@Transactional
public class UserServerImpl implements UserService {

	@Autowired
	private UserDao dao;
	
	public List<User> getUser() {
		return dao.getUser();
	}

}
